import Vue from 'vue'
import 'vant/lib/index.css'
import 'vant/lib/icon/local.css'

// 按需引入
import { Toast, NavBar, Icon, Tabbar, TabbarItem, Search } from 'vant'

// 注册
Vue.use(Toast)
Vue.use(NavBar)
Vue.use(Icon)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(Search)

/**
 * 示例:
 * import { Toast, Popup } from 'vant'
 * Vue.use(Toast).use(Popup)
 */
